﻿using IdeaBlade.Application.Framework.Core.DesignTimeSupport;

namespace Caliburn.Micro.Logging
{
    static class LoggingStarter
    {
        static LoggingStarter()
        {
            if (!DesignModeProber.IsInDesignMode)
            {
                LogManager.GetLog = type => new LocalLogger(type);
                ILog log = LogManager.GetLog(typeof(LoggingStarter));
                log.Info("LoggingStarter constructor");
            }
        }
    }
}
